#ifndef VIEWLOCK_H
#define VIEWLOCK_H

#include <QMainWindow>
#include <QFile>
#include <QTextStream>
#include <QDebug>

namespace Ui {
class viewlock;
}

class viewlock : public QMainWindow
{
    Q_OBJECT

public:
    explicit viewlock(QWidget *parent = nullptr);
    viewlock(QString password, QWidget *parent = nullptr);
    ~viewlock();

private slots:
    void on_backButton_clicked();

    void on_resaveButton_clicked();

signals:
    void back_password_signal();

private:
    Ui::viewlock *ui;
    QString password;
    QString path;
};

#endif // VIEWLOCK_H
